<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%--
 % This is the main decorator for all SOMECOMPANY INTRANET pages.
 % It includes standard caching, style sheet, header, footer and copyright notice.
 --%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page" %>
<%@ include file="/WEB-INF/decorators/taglibs.jsp"%>
<%
     response.setHeader("Pragma", "no-cache");
     response.setHeader("Cache-Control", "no-cache");
     response.setDateHeader("Expires", 0);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${pageTitle}</title>
<script type="text/javascript" src="${appPath}/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="${appPath}/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="${appPath}/js/fullcalendar.min.js"></script>
<script type="text/javascript" src="${appPath}/js/jquery.tokeninput.min.js"></script>
<script type="text/javascript" src="${appPath}/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${appPath}/js/locale/easyui-lang-zh_TW.js"></script>
<script type="text/javascript" src="${appPath}/js/jquery.validate.js"></script>
<script type="text/javascript" src="${appPath}/ckeditor/ckeditor.js"></script>
<!-- default -->
<link rel="stylesheet" type="text/css" id="ui_css" href="${appPath}/themes/${theme}/easyui2.css"/>    
<link rel="stylesheet" type="text/css" id="icon_css" href="${appPath}/themes/icon.css"/>
<link rel="stylesheet" type="text/css" id="cal_css" href="${appPath}/css/fullcalendar.css"/>
<link rel="stylesheet" type="text/css" id="token_css" href="${appPath}/css/token-input-facebook.css"/>
<link rel="stylesheet" type="text/css" href="${appPath}/css/${cssPath}.css" />
<script>
<!--
var gfm = 'yy/mm/dd';
$.fn.datebox.defaults.formatter = function(date) {  
	var m = date.getMonth() + 1;  
	var d = date.getDate();  
	return date.getFullYear() + '/' + (m < 10 ? '0' + m : m) + '/' + (d < 10 ? '0' + d : d);  
};
$.fn.datebox.defaults.parser = function(s){
	if (!s) return new Date();
	var ss = s.split('/');
	var y = parseInt(ss[0],10);
	var m = parseInt(ss[1],10);
	var d = parseInt(ss[2],10);
	if (!isNaN(y) && !isNaN(m) && !isNaN(d)){
		return new Date(y,m-1,d);
	} else {
		return new Date();
	}
};
function showMsg(data){
	if( eval(data) ){ $.messager.alert('訊息', '修改完成');
	}else{ $.messager.alert('訊息', '修改失敗','error'); }
}
//-->
</script>
</head>
<body>
<div id="page">
	<c:import url="/WEB-INF/decorators/head.jsp"/>
	<div><decorator:body /></div>    
	<div id="footer">                
		<!-- 請用IE 9.0 以上版本瀏覽 最佳觀看解析度1024x768 -->
	</div>
</div>
</body>

</html>

